from . import views
from django.urls import re_path



urlpatterns = [
     re_path(r'^api/v1.0/users$', views.RegisterView.as_view()),
     # re_path(r'^api/v1.0/session$', views.LogoutView.as_view()),
     re_path(r'^api/v1.0/user/name$', views.UpdateUsernameView.as_view()),
     re_path(r'^api/v1.0/areas$', views.AreaView.as_view()),
     re_path(r'^api/v1.0/orders$', views.ObtainOrderView.as_view()),
     re_path(r'^api/v1.0/houses/index$', views.IndexView.as_view()),
     re_path(r'^api/v1.0/orders/[int:order_id]/comment$', views.CommentOrderView.as_view()),

]
